﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using K9Nano.Events;

namespace K9Nano.Domain
{
    public class AggregateRoot : Entity, IGeneratesDomainEvents
    {
        public ICollection<IEventData> DomainEvents { get; }

        public AggregateRoot()
        {
            DomainEvents = new Collection<IEventData>();
        }
    }
}